import ajax from '@/utils/request'

//导入 mock 文件

import '@/mock/homemsg.js'

export function gethouseData() {
  return ajax({
    //mock 中定义的接口
    url: '/houseData',
  })
}


// export function getImageList() {
//   return [
//     { imgid: 1, price: '1200/晚', title: '整套公寓-3张床', imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u315.png', city: '珠海' },
//     { imgid: 2, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u338.png', price: '900/晚', title: '整套公寓-6张床', city: '深圳' },
//     { imgid: 3, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u347.png', price: '1200/晚', title: '整套公寓-3张床', city: '吉隆坡' },
//     { imgid: 4, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u361.png', price: '900/晚', title: '整套公寓-3张床', city: '汕头' },
//     { imgid: 5, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u360.png', price: '1200/晚', title: '整套公寓-3张床', city: '北京' },
//     { imgid: 6, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u360.png', price: '600/晚', title: '整套公寓-1张床', city: '天津' },
//     { imgid: 7, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u383.png', price: '1200/晚', title: '整套公寓-3张床', city: '上海' },
//     { imgid: 8, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u382.png', price: '1200/晚', title: '整套公寓-3张床', city: '唐山' },
//     { imgid: 9, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u277.png', price: '1500/晚', title: '整套公寓-3张床', city: '威海' },
//     { imgid: 10, imgurl: 'https://img.axureshop.com/c2/e9/7b/c2e97b96ebac43fdaa2b01538e82639f/images/%E9%A6%96%E9%A1%B5/u276.jpg', price: '2000/晚', title: '整套公寓-3张床', city: '青岛' },
//   ]
// }